<%@ page language="java" contentType="text/html; charset=windows-1256"
	pageEncoding="windows-1256"%>
<%@ page isErrorPage="true"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"    
      "http://www.w3.org/TR/html4/loose.dtd">

<html>

<head>
<meta http-equiv="Content-Type"
	content="text/html; charset=windows-1256">
<title>Invalid Login</title>
</head>

<%
	String sessionValidation = (String) session
			.getAttribute("sessionValidation");
	if (!(("validSession").equals(sessionValidation)) && !(("DbLogin Failure: Invalid username/password/host/schema combination").equals(request.getAttribute("errorMessage")))) {
		request.setAttribute("errorMessage", "Session Timeout!");
%>
<jsp:forward page="Login.jsp" />
<%
	}
%>

<body background="images/image1.jpg">
	<center>
		<h1>
			<font size="8" color="white">UIC Data Mining Tool</font>
		</h1>
		<br /> <br /> <br /> <br />
		<hr>
		<br />


	</center>
	<center>
		<font size="6" color="white"> Error!!<br> <br> <br>
			<%=request.getAttribute("errorMessage")%>
		</font>

		<form action="index.jsp">
			<input type="submit" value="Home">
		</form>
	</center>


	<!-- 	<center>		       
           <font size="6" color="white"> Sorry, You have entered invalid Login credentials!!! <br> <br> <br>
           Already Registered? 
           <a href ="UserLogin.jsp">
           <font size="6" color="white">Please Login</font></a>
           </font>
           <br>
           <font size="6" color="white"> New User?</font>
           <a href ="SignUp.jsp">
           <font size="6" color="white">Please Sign Up</font></a>
         </center> -->
</body>

</html>